#set($title = "智能会议预定系统-管理员-日志")
#includeFootable
 <table class="footable table" data-filter="#filter" data-page-size="10" data-page-previous-text="上一页" data-page-next-text="下一页" data-page-navigation=".pagination">
        <thead>
            <tr>
                <th data-hide="all">
                    日志ID
                </th>
                <th  data-hide="all">
                    日志等级
                </th>
                <th  data-hide="phone" data-toggle="true">
                    日志内容
                </th>
                <th data-sort-initial="">
                  创建时间
                </th>
                <th data-type="numeric">
                    用户工号
                </th>
                <th data-type="numeric">
                  用户类型
                </th>
            </tr>
        </thead>
        <tbody>
            #foreach($log in $logTool.getAllLogs())
            <tr >
                <td>
                    $log.id
                </td>
                <td>
                   $log.loglevel
                </td>
                <td>
                    $!log.logmsg
                </td>
                <td >
                     $date.format("yyyy-MM-dd HH:mm:ss",$!log.createtime)
                </td>
                <td >
                    $log.userId
                </td>
                <td >
                    #judge($log.userType)
                </td>
            </tr>
            #end
        </tbody>
        <tfoot>
            <tr>
                <td colspan="4">
                    <div class="pagination pagination-centered">
                    </div>
                </td>
            </tr>
        </tfoot>
    </table>
	<script type="text/javascript">
    $(function(){
		$('.footable').footable();
		
		$("tfoot tr td").show();
    });
</script>